README for AIAIOO LABS Java API version 1.0.15
----------------------------------------------

This is the software for calling the Event Analysis, Intention Analysis and Sentiment Analysis APIs.

The classes have also been compiled into aiaioo_api.jar.

The classes to use are as follows:

Sentiment Analysis:  VakSentClient.java
Intention Analysis:  VakIntentClient.java
Event Analysis:  VakEventClient.java

Use the code from the command line as follows:

java -cp "aiaioo_api.jar" com.aiaioo.api.VakIntentClient

You can look at the main method in the Java code for an example of usage:

	public static void main(String[] args) {
		try {
			ArrayList<String> documents = new ArrayList<String>();
			documents.add("I would like to buy a car like that beautiful VW we saw near San Mateo.");
			documents.add("For sale: a new Gibson electric with amplifier.");
			documents.add("The Nokia 600 is much better than the older N72.");
			ArrayList<Intention> intentions = new VakIntentClient(Client.getAPIKey()).getIntentions(documents);
			System.out.println(intentions);
		} catch (ClientException e) {
			System.err.println("Error: "+e.getMessage());
		}
	}
